<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Flex布局</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    img {
      width: 64px;
      height: 64px;
    }

    /* 
    设置主轴对齐方式 justify-content
    center/space-between/space-around/space-evenly
   
    侧轴对齐方式 align-items 控制所有 align-self 单独控制
    stretch/center
    stretch : 需要删除子盒子高度
    */
    .box {
      /* 设置Flex布局 */
      display: flex;
      /* 设置主轴对齐方式 */
      justify-content: space-evenly;
      /* 设置侧轴 */
      align-items: center;
      margin: 50px auto;
      width: 1200px;
      height: 320px;
      background-color: #0ff;
    }


    .box .box1 {
      display: flex;
      /* 设置主轴方向 */
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 240px;
      height: 160px;
      background-color: #f0f;
    }
  </style>
</head>

<body>
  <div class="box">
    <div class="box1">
      <img src="../../素材/images/customize.23a30bdf3e96.svg" alt="">
      <span>定制您的浏览器</span>
    </div>
    <div class="box1">
      <img src="../../素材/images/highlights.5c0ee4d4d464.svg" alt="">
      <span>生产力跃升</span>
    </div>
    <div class="box1">
      <img src="../../素材/images/search.4c947088db6f.svg" alt="">
      <span>搜索更智能、更快</span>
    </div>
    <div class="box1">
      <img src="../../素材/images/privacy.6c972615ac63.svg" alt="">
      <span>保护您的隐私</span>
    </div>
  </div>
</body>

</html>